package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.pojo.LeaveMessage;
import com.ruoyi.service.LeaveMessageService;
import com.ruoyi.mapper.LeaveMessageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author xlz
* @description 针对表【leave_message】的数据库操作Service实现
* @createDate 2023-07-19 17:09:24
*/
@Service
public class LeaveMessageServiceImpl extends ServiceImpl<LeaveMessageMapper, LeaveMessage>
    implements LeaveMessageService{

    @Autowired
    private LeaveMessageMapper leaveMessageMapper;

    @Override
    public int addMessage(LeaveMessage message) {
        return leaveMessageMapper.insert(message);
    }
}




